#pragma once
#include "Support.h"
USING_NS_CC;

class EnemyManager : public Ref {
public:
	static EnemyManager* createManager(const char *levelPlist);
	~EnemyManager();
	Node *getEnemyNode(Vec2 pos, Node *layer);
protected:
	bool initManager(const char *levelPlist);
private:
	__Dictionary *m_data;
	int m_count;
	CC_SYNTHESIZE_READONLY(int, m_totalCount, TotalCount);
	int m_senior_limit;
	__Array *m_monster;
	__Array *m_senior_monster;
};